package org.performancetracker.api;

/**
 * @author: jaronschut
 */
public interface Aggregator {

    /**
     * Callback method to aggregate the tracker results.
     * The aggregator should never hold the reference to the tracker longer then this method call.
     *
     * @param report 
     */
    void aggregate(Reporter report);

    /**
     * Default aggregator name.
     *
     * This is the aggregator name that is used by the tracker impelmentation and modules internally.
     */
    String DEFAULT_AGGREGATOR_NAME = "Tracker.Default";
}